import { devHttp } from '@/services/hbhttp.js'
const $http=devHttp;

/**
* 获取房间号
*/
export const getPropertyAddressList = (params) => {
	return $http.get('property/getAddressList',params)
};

/**
* 条件获取资产信息
*/
export const getPropertyList = (params) => {
	return $http.get('property/getProperty',params)
};

/**
* 条件获取资产信息(扫码单条)
*/
export const getPreciseProperty = (params) => {
	return $http.get('property/getPreciseProperty',params)
};

/**
* 资产信息接口，包含分页数据
*/
export const getPropertSelectRecordByIdPage = (params) => {
	return $http.get('property/selectRecordByIdPage',params)
};

/**
* 根据资产编号修改 房间号 修改时间 盘点人 添加记录日志
*/
export const postPropertUpdateProperty = (params) => {
	return $http.post('property/updateProperty',params)
};

/**
* 更新资产信息接口
*/
export const postPropertUpdatePropertyVo = (params) => {
	return $http.post('property/updatePropertyVo',params)
};

/**
* 历史信息分页
*/
export const getPropertRecord = (params) => {
	return $http.get('property/getPropertyRecord',params)
};

/**
* 获取条形码
*/
export const getPropertGenerate = (params) => {
	return $http.get('property/generate',params)
};

